package api

import (
	auto "beergo/app/com/auto/controller"
	"beergo/app/com/conf"
	"github.com/beego/beego/v2/server/web"
)

type QuestionCategoryAdminController struct {
	auto.QuestionCategoryController
}

func init() {
	web.Router(conf.UrlPrefix + "/QuestionCategory/:id", 		&QuestionCategoryAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefix + "/QuestionCategory/info", 		&QuestionCategoryAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefix + "/QuestionCategory/scan", 		&QuestionCategoryAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefix + "/QuestionCategory/list", 	    &QuestionCategoryAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefix + "/QuestionCategory/update", 	&QuestionCategoryAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefix + "/QuestionCategory/create", 	&QuestionCategoryAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefix + "/QuestionCategory/copy", 	    &QuestionCategoryAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefix + "/QuestionCategory/edit", 	    &QuestionCategoryAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefix + "/QuestionCategory/delete", 	&QuestionCategoryAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefix + "/QuestionCategory/:id/:field", &QuestionCategoryAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefix + "/QuestionCategory/choice", &QuestionCategoryAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefix + "/QuestionCategory/category", &QuestionCategoryAdminController{}, "*:CategoryAction")
}
//func (this *QuestionCategoryAdminController) Prepare() {}
//func (this *QuestionCategoryAdminController) ListAction() {}
//func (this *QuestionCategoryAdminController) GetAction() {}
//func (this *QuestionCategoryAdminController) InfoAction() {}
//func (this *QuestionCategoryAdminController) ScanAction() {}
//func (this *QuestionCategoryAdminController) CreateAction() {}
//func (this *QuestionCategoryAdminController) UpdateAction() {}
//func (this *QuestionCategoryAdminController) CopyAction() {}
//func (this *QuestionCategoryAdminController) DeleteAction() {}
//func (this *QuestionCategoryAdminController) EditAction() {}
//func (this *QuestionCategoryAdminController) SonsAction() {}
//func (this *QuestionCategoryAdminController) ChoiceAction() {}
//func (this *QuestionCategoryAdminController) CategoryAction() {}
